package com.chenss.dragonser.model;

import java.util.List;

public class Test {

    /**
     * userid : 1520
     * cart_id : 56,65
     * cart_total_amount : 560.0
     * cart_goods : [{"name":"测试商品","image_default":"http://nzm.shiningsoft.top//uploads/91/a8/3f/5f/c8/bccb05f781d90514bf1777.jpg","sale_price":"60.00","sale_num":"8","cart_id":"56"},{"name":"金牌甜瓜","image_default":"http://nzm.shiningsoft.top//uploads/92/89/43/21/4d/29dd160a9e2ef9ddc358f4.png","sale_price":"80.00","sale_num":"1","cart_id":"65"}]
     * user_address : {"consignee_id":"18","name":"陈松松","address":"唐延路10号","mobile":"15678884421","province_id":"2","city_id":"3","region_id":"6","address_info":"陕西省西安市雁塔区唐延路10号"}
     * wallet_fee : 0.00
     * points : 0
     * coupon_usage : 1
     * goods_total_num : 9
     */

    private String userid;
    private String cart_id;
    private String cart_total_amount;
    private UserAddressBean user_address;
    private String wallet_fee;
    private int points;
    private int coupon_usage;
    private int goods_total_num;
    private List<CartGoodsBean> cart_goods;

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getCart_id() {
        return cart_id;
    }

    public void setCart_id(String cart_id) {
        this.cart_id = cart_id;
    }

    public String getCart_total_amount() {
        return cart_total_amount;
    }

    public void setCart_total_amount(String cart_total_amount) {
        this.cart_total_amount = cart_total_amount;
    }

    public UserAddressBean getUser_address() {
        return user_address;
    }

    public void setUser_address(UserAddressBean user_address) {
        this.user_address = user_address;
    }

    public String getWallet_fee() {
        return wallet_fee;
    }

    public void setWallet_fee(String wallet_fee) {
        this.wallet_fee = wallet_fee;
    }

    public int getPoints() {
        return points;
    }

    public void setPoints(int points) {
        this.points = points;
    }

    public int getCoupon_usage() {
        return coupon_usage;
    }

    public void setCoupon_usage(int coupon_usage) {
        this.coupon_usage = coupon_usage;
    }

    public int getGoods_total_num() {
        return goods_total_num;
    }

    public void setGoods_total_num(int goods_total_num) {
        this.goods_total_num = goods_total_num;
    }

    public List<CartGoodsBean> getCart_goods() {
        return cart_goods;
    }

    public void setCart_goods(List<CartGoodsBean> cart_goods) {
        this.cart_goods = cart_goods;
    }

    public static class UserAddressBean {
        /**
         * consignee_id : 18
         * name : 陈松松
         * address : 唐延路10号
         * mobile : 15678884421
         * province_id : 2
         * city_id : 3
         * region_id : 6
         * address_info : 陕西省西安市雁塔区唐延路10号
         */

        private String consignee_id;
        private String name;
        private String address;
        private String mobile;
        private String province_id;
        private String city_id;
        private String region_id;
        private String address_info;

        public String getConsignee_id() {
            return consignee_id;
        }

        public void setConsignee_id(String consignee_id) {
            this.consignee_id = consignee_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getProvince_id() {
            return province_id;
        }

        public void setProvince_id(String province_id) {
            this.province_id = province_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        public String getRegion_id() {
            return region_id;
        }

        public void setRegion_id(String region_id) {
            this.region_id = region_id;
        }

        public String getAddress_info() {
            return address_info;
        }

        public void setAddress_info(String address_info) {
            this.address_info = address_info;
        }
    }

    public static class CartGoodsBean {
        /**
         * name : 测试商品
         * image_default : http://nzm.shiningsoft.top//uploads/91/a8/3f/5f/c8/bccb05f781d90514bf1777.jpg
         * sale_price : 60.00
         * sale_num : 8
         * cart_id : 56
         */

        private String name;
        private String image_default;
        private String sale_price;
        private String sale_num;
        private String cart_id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage_default() {
            return image_default;
        }

        public void setImage_default(String image_default) {
            this.image_default = image_default;
        }

        public String getSale_price() {
            return sale_price;
        }

        public void setSale_price(String sale_price) {
            this.sale_price = sale_price;
        }

        public String getSale_num() {
            return sale_num;
        }

        public void setSale_num(String sale_num) {
            this.sale_num = sale_num;
        }

        public String getCart_id() {
            return cart_id;
        }

        public void setCart_id(String cart_id) {
            this.cart_id = cart_id;
        }
    }
}
